﻿using System.Windows;
using System.Windows.Controls;

namespace BingleMaps.Controls
{
	public class ItineraryListItem : Control
	{
		public ItineraryListItem()
		{
			DefaultStyleKey = typeof(ItineraryListItem);
		}

		public string Index
		{
			get { return (string)GetValue(IndexProperty); }
			set { SetValue(IndexProperty, value); }
		}

		public static readonly DependencyProperty IndexProperty = DependencyProperty.Register(
			"Index",
			typeof(string),
			typeof(ItineraryListItem),
			null);

		public string Instructions
		{
			get { return (string)GetValue(InstructionsProperty); }
			set { SetValue(InstructionsProperty, value); }
		}

		public static readonly DependencyProperty InstructionsProperty = DependencyProperty.Register(
			"Instructions",
			typeof(string),
			typeof(ItineraryListItem),
			null);

		public string DistanceText
		{
			get { return (string)GetValue(DistanceTextProperty); }
			set { SetValue(DistanceTextProperty, value); }
		}

		public static readonly DependencyProperty DistanceTextProperty = DependencyProperty.Register(
			"DistanceText",
			typeof(string),
			typeof(ItineraryListItem),
			null);
	}
}
